-
Notifications
You must be signed in to change notification settings - Fork 0
new landing — docs tweaks #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
& .label text, | ||
span { | ||
font-size: 14px !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The font we're using is a tad too wide for Mermaid and I don't see any more reasonable wait of fixing that.
.dark .flowchart { | ||
--mermaid-node-fill: hsl(var(--color-neu-50) / 0.5); | ||
--mermaid-node-stroke: hsl(var(--color-neu-100)); | ||
--mermaid-arrow: hsl(var(--color-neu-300)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tweaking colors a bit is still better than rendering light mode by accident and being forced to write everything twice all the time, so I think the designers were right setting it up like this in Figma variables. Still, this bit makes the flowcharts in dark mode less jarring.
look: "classic", | ||
flowchart: { | ||
defaultRenderer: "elk", | ||
padding: 6, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is SVG padding so we can't make it responsive easily.
Description
Before